package com.manlost.biz.tag.query;

import java.util.List;

import com.manlost.biz.baby.model.constants.BabyType;
import com.manlost.biz.common.query.PageQuery;
import com.manlost.biz.tag.model.constants.TagType;

/**
 * 类ListBabyTagAccountRelationQuery.java的实现描述：TODO 类实现描述
 * 
 * @author xiaochuan.luxc 2012-3-29 下午11:31:00
 */
public class ListBabyTagAccountRelationQuery extends PageQuery {

    private static final long serialVersionUID = -5242424656899160653L;

    private List<Long>        andTagIds;
    private List<Long>        orTagIds;
    private List<Long>        notTagIds;
    
    private String            tagType;
    private String            babyType;

    @Override
    public boolean validate() {
        return true;
    }

    /**
     * @return the andTagIds
     */
    public List<Long> getAndTagIds() {
        return andTagIds;
    }

    /**
     * @param andTagIds the andTagIds to set
     */
    public void setAndTagIds(List<Long> andTagIds) {
        this.andTagIds = andTagIds;
    }

    /**
     * @return the orTagIds
     */
    public List<Long> getOrTagIds() {
        return orTagIds;
    }

    /**
     * @param orTagIds the orTagIds to set
     */
    public void setOrTagIds(List<Long> orTagIds) {
        this.orTagIds = orTagIds;
    }

    /**
     * @return the notTagIds
     */
    public List<Long> getNotTagIds() {
        return notTagIds;
    }

    /**
     * @param notTagIds the notTagIds to set
     */
    public void setNotTagIds(List<Long> notTagIds) {
        this.notTagIds = notTagIds;
    }

    /**
     * @return the tagType
     */
    public String getTagType() {
        return tagType;
    }

    /**
     * @param tagType the tagType to set
     */
    public void setTagType(String tagType) {
        this.tagType = tagType;
    }

    public void setTagType(TagType tagType) {
        this.tagType = tagType.getValue();
    }

    /**
     * @return the babyType
     */
    public String getBabyType() {
        return babyType;
    }

    /**
     * @param babyType the babyType to set
     */
    public void setBabyType(String babyType) {
        this.babyType = babyType;
    }

    public void setBabyType(BabyType babyType) {
        this.babyType = babyType.getValue();
    }
}
